﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApplication1._Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <style type="text/css">
        .style1
        {
            width: 700px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div style="text-align:center;font-size:54px">
    <br/>
        Welcome to Noodle.aspnetx
    <br/>
    <br/>
    </div>
    
    <div style="text-align:center">
    
        <asp:TextBox ID="TextBox1" runat="server" Width="300px">0431</asp:TextBox>
        &nbsp;<asp:Button ID="Button1" runat="server" onclick="Button1_Click" 
            Text="Noodle" Width="100px" />
    
    </div>
    <hr />
    <div style="text-align:right">
        <asp:Label ID="Label3" runat="server" Text=""></asp:Label>
    </div>
    <br />
    <br />
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
        Width="700px" BorderWidth="0px" ShowHeader="False" PageSize="16">
        <Columns>
            <asp:TemplateField>
                <ItemTemplate>
                    <table cellpadding="0" cellspacing="0" class="style1">
                        <tr style="height:30px">
                            <td>
                                <asp:Label ID="Label1" runat="server" Font-Size="14px" 
                                    Text='<%# Eval("Title") %>'></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="Label2" runat="server" Text='<%# Eval("Content") %>'></asp:Label>
                            </td>
                        </tr>
                        <tr style="height:30px">
                            <td>
                                <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# Eval("Path") %>' 
                                    Target="_blank" Text='<%# Eval("Path") %>'></asp:HyperLink>
                            </td>
                        </tr>
                    </table>
                    <br />
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
    
    <div style="text-align:center">
    <br/>
    <hr/>
    <br />
    <br />
        <a href="http://aspnetx.cnblogs.com">http://aspnetx.cnblogs.com</a>
        <br />
        codeplex &amp; cnblogs version.<br />
    </div>
    
    </form>
</body>
</html>
